package com.newMedical.medical.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.newMedical.common.annotation.Excel;
import com.newMedical.common.core.domain.BaseEntity;

/**
 * 病历表对象 hz_medical
 * 
 * @author zhou
 * @date 2021-11-30
 */
public class HzMedical extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 病历ID */
    private Long id;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String hzName;

    /** 主诉 */
    @Excel(name = "主诉")
    private String blChief;

    /** 现病史 */
    @Excel(name = "现病史")
    private String blIllness;

    /** 现病诊疗情况 */
    @Excel(name = "现病诊疗情况")
    private String blTreatment;

    /** 既病史 */
    @Excel(name = "既病史")
    private String blMedical;

    /** 过敏史 */
    @Excel(name = "过敏史")
    private String blAllergies;

    /** 体格检查 */
    @Excel(name = "体格检查")
    private String blPhysical;

    /** 发病时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发病时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date blOnsettime;

    /** 病历号 */
    @Excel(name = "病历号")
    private String blNum;

    /** 疾病名0 */
    @Excel(name = "疾病名0")
    private String blIcd0;

    /** 疾病名1 */
    @Excel(name = "疾病名1")
    private String blIcd1;

    /** 疾病名2 */
    @Excel(name = "疾病名2")
    private String blIcd2;

    /** 疾病名3 */
    @Excel(name = "疾病名3")
    private String blIcd3;

    /** 疾病名4 */
    @Excel(name = "疾病名4")
    private String blIcd4;

    /** 诊断号 */
    @Excel(name = "诊断号")
    private String hzNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHzName(String hzName) 
    {
        this.hzName = hzName;
    }

    public String getHzName() 
    {
        return hzName;
    }
    public void setBlChief(String blChief) 
    {
        this.blChief = blChief;
    }

    public String getBlChief() 
    {
        return blChief;
    }
    public void setBlIllness(String blIllness) 
    {
        this.blIllness = blIllness;
    }

    public String getBlIllness() 
    {
        return blIllness;
    }
    public void setBlTreatment(String blTreatment) 
    {
        this.blTreatment = blTreatment;
    }

    public String getBlTreatment() 
    {
        return blTreatment;
    }
    public void setBlMedical(String blMedical) 
    {
        this.blMedical = blMedical;
    }

    public String getBlMedical() 
    {
        return blMedical;
    }
    public void setBlAllergies(String blAllergies) 
    {
        this.blAllergies = blAllergies;
    }

    public String getBlAllergies() 
    {
        return blAllergies;
    }
    public void setBlPhysical(String blPhysical) 
    {
        this.blPhysical = blPhysical;
    }

    public String getBlPhysical() 
    {
        return blPhysical;
    }
    public void setBlOnsettime(Date blOnsettime) 
    {
        this.blOnsettime = blOnsettime;
    }

    public Date getBlOnsettime() 
    {
        return blOnsettime;
    }
    public void setBlNum(String blNum) 
    {
        this.blNum = blNum;
    }

    public String getBlNum() 
    {
        return blNum;
    }
    public void setBlIcd0(String blIcd0) 
    {
        this.blIcd0 = blIcd0;
    }

    public String getBlIcd0() 
    {
        return blIcd0;
    }
    public void setBlIcd1(String blIcd1) 
    {
        this.blIcd1 = blIcd1;
    }

    public String getBlIcd1() 
    {
        return blIcd1;
    }
    public void setBlIcd2(String blIcd2) 
    {
        this.blIcd2 = blIcd2;
    }

    public String getBlIcd2() 
    {
        return blIcd2;
    }
    public void setBlIcd3(String blIcd3) 
    {
        this.blIcd3 = blIcd3;
    }

    public String getBlIcd3() 
    {
        return blIcd3;
    }
    public void setBlIcd4(String blIcd4) 
    {
        this.blIcd4 = blIcd4;
    }

    public String getBlIcd4() 
    {
        return blIcd4;
    }
    public void setHzNum(String hzNum) 
    {
        this.hzNum = hzNum;
    }

    public String getHzNum() 
    {
        return hzNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hzName", getHzName())
            .append("blChief", getBlChief())
            .append("blIllness", getBlIllness())
            .append("blTreatment", getBlTreatment())
            .append("blMedical", getBlMedical())
            .append("blAllergies", getBlAllergies())
            .append("blPhysical", getBlPhysical())
            .append("blOnsettime", getBlOnsettime())
            .append("blNum", getBlNum())
            .append("blIcd0", getBlIcd0())
            .append("blIcd1", getBlIcd1())
            .append("blIcd2", getBlIcd2())
            .append("blIcd3", getBlIcd3())
            .append("blIcd4", getBlIcd4())
            .append("hzNum", getHzNum())
            .toString();
    }
}
